<include file="__THEME__/header" />
<link href="../Public/css/blog.css" rel="stylesheet" type="text/css" />
<script>
var deleteUrl = "";
function deleteBlog( url ){
				deleteUrl = url;
				$.tbox.confirm("{:L('blog_delete_blog')}?","{:L('blog_opt')}",{ok:"deleteBlogTrue"});
}

function deleteBlogTrue(){
		location.href = deleteUrl;
}
</script>
<script type="text/javascript" src="__PUBLIC__/js/thickbox/jquery.mousewheel.min.js" charset="utf-8">
</script>
<div class="contents lbg B">
 <!-- {:L('home_0004')} begin-->
  <include file="../Public/home_left" />
  <div class="contents_min w668">
    <div class="blog_inde_cont">
      <h3 class="tit_h3"><a class="add" href="{:U('home/blog/post')}">{:L('blog_post_blog')}</a>{:L('my_blog')}</h3>
      <volist name="data" id="vo">
      <dl class="list_dl">
        <dt><a  target="_blank" href="{:U('blog/index/detail','id='.$vo['blogId'].'&uid='.$vo['uid'])}">{$vo.title}</a></dt>
        <dd class="min_h">
               <php>if(!empty($vo['cover'])){</php><a href="{$vo.cover}" title="{$vo.title}" class="thickbox"> <img width="160" height="120" src="{$vo.cover}" alt="{$vo.title}" /></a><php>}</php>
        {$vo.content}
         <div class="C"></div>
        </dd>
        <dd class="option2">
         <span> {:L('blog_post_time')} {$vo.cTime|friendlyDate} </span><span>|</span><span><a href="{:U('blog/index/detail','id='.$vo['blogId'].'&uid='.$vo['uid'])}#comment">{:L('blog_comment')}( {$vo.commentCount} )</a></span><span>|</span><span><a href="{:U('blog/index/detail','id='.$vo['blogId'].'&uid='.$vo['uid'])}">{:L('blog_reader')}( {$vo.readCount} )</a></span><span>|</span><span><a href="{:U('home/blog/edit','id='.$vo['blogId'].'&uid='.$vo['uid'])}">{:L('blog_edit')}</a></span><span>|</span><span><a href="javascript:void(0)"  onclick="deleteBlog('{:U('home/blog/deleteBlog','id='.$vo['blogId'] )}')">{:L('blog_delete')}</a></span></dd>
      </dl>
      <div class="C"></div>
      </volist>
    </div>
     <div class="page mb20 alR mt5">{$html}</div>
  </div>
  <include file="right" />
  <!-- --{:L('home_0001')} begin-------->
  <div class="C"> </div>
</div>
<include file="__THEME__/footer" /> 